PID=$(jcmd | grep http-analysis.jar | awk '{ print $1 }')
if [ -z "$PID" ]; then
  echo Application is already stopped
else
  echo kill -9 $PID
  kill -9 $PID
fi

nohup java -client -Dfile.encoding=utf-8 -XX:+UseSerialGC -Xmx32m -Xms32m -jar http-analysis.jar properties=aliyun-xieyu.properties &
